home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / exec / funsizeo.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  358 b   |  21 lines

  1. /*
  2. \funcref{fun\_sizeoflist}{void fun\_sizeoflist ()}
  3.     {}
  4.     {}
  5.     {}
  6.     {funsizeo.c}
  7.     {
  8.  
  9.         This function determines the size of the last pushed list variable and
  10.         sets {\em reg.vu.intval} to this size.
  11.  
  12.     }
  13. */
  14.  
  15. #include "icm-exec.h"
  16.  
  17. void fun_sizeoflist ()
  18. {
  19.     reg.type = e_int;
  20.     reg.vu.intval = stack [sp].vu.i->ls.list.size;
  21. }